<div class="post">
  <header class="post-header">
    <h1 class="post-title">{% if include.truncate %}<a href="{{ site.url }}{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1>
  </header>

  <article class="post-content">
   {% if include.truncate %}
      {% if page.content contains '<!--truncate-->' %}
        {{ page.content | split:'<!--truncate-->' | first }}
        <div class="read-more">
          <a href="{{ site.url }}{{ site.baseurl }}{{ page.url }}" >
            ...Read More
          </a>
        </div>
      {% else %}
        {{ page.content }}
      {% endif %}
    {% else %}
      {{ content }}

      <p><a class="edit-page-link" href="https://github.com/{{ site.ghrepo }}/tree/gh-pages/{{ page.path }}" target="_blank">Edit on GitHub</a></p>
    {% endif %}
  </article>
  {% include doc_paging.html %}
</div>
